package com.scvtc.service.research;

import com.baomidou.mybatisplus.extension.service.IService;
import com.scvtc.domain.ResResult;
import com.scvtc.domain.dto.research.page.ResearchPaperDto;
import com.scvtc.domain.entity.research.ResearchPaper;
import com.scvtc.domain.vo.PageVo;
import com.scvtc.domain.vo.research.page.ResearchPaperVo;

import java.util.List;

/**
 * 科研刊物信息(ResearchPaper)表服务接口
 *
 * @author yiFei
 * @since 2022-06-02 16:17:09
 */
public interface ResearchPaperService extends IService<ResearchPaper> {
    /**
     * 查询科研刊物信息
     *
     * @param current
     * @param size
     * @param researchPaperVo
     * @return
     */
    ResResult<PageVo<List<ResearchPaperVo>>> getAllResearchPaper(Long current, Long size, ResearchPaperVo researchPaperVo);

    /**
     * 增加科研刊物信息
     *
     * @param researchPaperDto
     * @return
     */
    ResResult<?> addResearchPaper(ResearchPaperDto researchPaperDto);

    /**
     * 修改科研刊物信息
     *
     * @param researchPaperDto
     * @return
     */
    ResResult<?> updateResearchPaper(ResearchPaperDto researchPaperDto);

    /**
     * 删除单个科研刊物信息
     *
     * @param id
     * @return
     */
    ResResult<?> deleteResearchPaper(Long id);

    /**
     * 删除多个科研刊物信息
     *
     * @param ids
     * @return
     */
    ResResult<?> deleteMultipleResearchPaper(Long[] ids);
}

